/**
 * Handles the class Product.
 * 
 * Author: Group 3
 * Date: 07-04-2014 Version: 1.0
 */
package modellayer;
public class Product {
	
	private int purchasePrice, salesPrice, rentPrice;
	private int minStock, inStock, productID, supplierID;
	private String name, countryOfOrigin, productType;
	private Supplier supplier;
	
	public Product(int purchasePrice, int salesPrice, int rentPrice,
			int minStock, int inStock, int supplierID, String name,
			String countryOfOrigin, String productType) {
		this.purchasePrice = purchasePrice;
		this.salesPrice = salesPrice;
		this.rentPrice = rentPrice;
		this.minStock = minStock;
		this.inStock = inStock;
		this.supplierID = supplierID;
		this.name = name;
		this.countryOfOrigin = countryOfOrigin;
		this.productType = productType;
	}



	public Product()
	{
		//constructor
	}

	
	
	/**
	 * @return the supplierID
	 */
	public int getSupplierID() {
		return supplierID;
	}

	/**
	 * @param supplierID the supplierID to set
	 */
	public void setSupplierID(int supplierID) {
		this.supplierID = supplierID;
	}

	/**
	 * @return the productType
	 */
	public String getProductType() {
		return productType;
	}

	/**
	 * @param productType the productType to set
	 */
	public void setProductType(String productType) {
		this.productType = productType;
	}

	/**
	 * @return the supplier
	 */
	public Supplier getSupplier() {
		return supplier;
	}

	/**
	 * @param supplier the supplier to set
	 */
	public void setSupplier(Supplier supplier) {
		this.supplier = supplier;
	}

	/**
	 * @param inStock the inStock to set
	 */
	public void setInStock(int inStock) {
		this.inStock = inStock;
	}

	public int getProductID()
	{
		return productID;
	}
	
	/**
	 * 
	 * @param productID
	 */
	public void setProductID(int productID)
	{
		this.productID = productID;
	}
	
	/**
	 * 
	 * @param name
	 */
	public void setName(String name)
	{
		this.name = name;
	}
	
	/**
	 * 
	 * @param countryOfOrigin
	 */
	public void setCountryOfOrigin(String countryOfOrigin)
	{
		this.countryOfOrigin = countryOfOrigin;
	}
	
	/**
	 * 
	 * @param purchasePrice
	 */
	public void setPurchasePrice(int purchasePrice)
	{
		this.purchasePrice = purchasePrice;
	}
	
	/**
	 * 
	 * @param salesPrice
	 */
	public void setSalesPrice(int salesPrice)
	{
		this.salesPrice = salesPrice;
	}
	
	/**
	 * 
	 * @param rentPrice
	 */
	public void setRentPrice(int rentPrice)
	{
		this.rentPrice = rentPrice;
	}
	
	/**
	 * 
	 * @param minStock
	 */
	public void setMinStock(int minStock)
	{
		this.minStock = minStock;
	}
	
	/**
	 * 
	 * @param inStock
	 */
	public void setinStock(int inStock)
	{
		this.inStock = inStock;
	}
	
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return the countryOfOrigin
	 */
	public String getCountryOfOrigin() {
		return countryOfOrigin;
	}

	/**
	 * @return the purchasePrice
	 */
	public int getPurchasePrice() {
		return purchasePrice;
	}

	/**
	 * @return the salesPrice
	 */
	public int getSalesPrice() {
		return salesPrice;
	}

	/**
	 * @return the rentPrice
	 */
	public int getRentPrice() {
		return rentPrice;
	}

	/**
	 * @return the minStock
	 */
	public int getMinStock() {
		return minStock;
	}

	/**
	 * @return the inStock
	 */
	public int getInStock() {
		return inStock;
	}
}
